<html>
<head>
<title>login</title>
	<link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>public/css/bootstrap.min.css">
	<link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>public/css/bootstrap-theme.min.css">
	<link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>public/css/style.css">
	<style type="text/css">
		.from{
			margin-top:10%;
		}
	</style>
</head>
<body>
<div class="container from ">
	<div class="row">
		<div class="col-md-5 col-md-offset-3">
			<div class="panel panel-warning">
				<div style="text-align: center; font-size:20px;letter-spacing: 20px; " class="panel-heading"><b>登录</b></div>
					<div class="panel-body">
						<form action="" method="post" class="form-horizontal">
							<div >
						 		<label class="col-sm-3 control-label">用户名:</label>
						 		<div class="col-sm-9">
									<input class="form-control" type="text" name="username" value="<?php echo set_value('username'); ?>" placeholder="用户名" />
									<?php echo form_error('username'); ?>
								</div>
							</div>
							<div>
								<label class="col-sm-3 control-label">密　码:</label>
								<div class="col-sm-9">
									<input class="form-control"  type="text" name="password" value="<?php echo set_value('password'); ?>" placeholder="密码" />
									<?php echo form_error('password'); ?>
								</div>
							</div>
							<div class="col-sm-offset-3 col-sm-9">
							    <div class="checkbox">
							        <label>
							          	<input type="checkbox"> 记住我
							       	</label>
							    </div>
						    </div>
						    <div>
								 <button type="submit" class="btn btn-block btn-info btn-sm ">登录</button>
							</div>
					</form>
				</div>
			</div>
		</div>
	</div>
</div>


</body>
</html>